﻿using System.Net.Mime;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class Loader : MonoBehaviour
{
    public GameObject DirectorOne;
    // Start is called before the first frame update
   private void Awake() {
       if (Director.Singles == null) {
           GameObject.Instantiate(DirectorOne);
           
       }
       Director.Singles.HPText = GameObject.Find("Canvas/Text").GetComponent<Text>();
           Director.Singles.GAMEOVER = GameObject.Find("Canvas/Over").GetComponent<Text>();
       
   } 

}
